package org.jeecg.modules.param.refund.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 退款记录
 * @Author: 月月鸟
 * @Date:   2021-05-31
 * @Version: V1.0
 */
@Data
@TableName("bike_member_user_return")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bike_member_user_return对象", description="退款记录")
public class BikeMemberUserReturn implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**单车编号*/
    @Excel(name = "车辆编号", width = 15)
    @ApiModelProperty(value = "单车编号")
    @TableField(exist = false)
    private java.lang.String vehicleCode;
    /**单车类型*/
    @Excel(name = "车辆类型", width = 15)
    @ApiModelProperty(value = "单车类型")
    @TableField(exist = false)
    private java.lang.String vehicleType;
    /**用户编码*/
    @Excel(name = "会员号", width = 15)
    @ApiModelProperty(value = "用户编码")
    @TableField(exist = false)
    private java.lang.String userCode;
    /**用户姓名*/
    @Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "用户姓名")
    @TableField(exist = false)
    private java.lang.String userName;
    /**借车时间*/
    @Excel(name = "借出时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "借车时间")
    @TableField(exist = false)
    private java.util.Date pickTime;
    /**结算时间*/
    @Excel(name = "结算时间", width = 15, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结算时间")
    @TableField(exist = false)
    private java.util.Date parkTime;
    /**用车方式*/
    @Excel(name = "用车方式", width = 15, dicCode = "use_type")
    @Dict(dicCode = "use_type")
    @ApiModelProperty(value = "用车方式")
    @TableField(exist = false)
    private java.lang.String useType;
    /**用车时长(分钟)*/
    //@Excel(name = "用车时长(分钟)", width = 15)
    @ApiModelProperty(value = "用车时长(分钟)")
    @TableField(exist = false)
    private java.lang.Integer useLong;
    /**用车时长(分钟)*/
    @Excel(name = "用车时长(分钟)", width = 15)
    @ApiModelProperty(value = "用车时长(分钟)MMss格式")
    @TableField(exist = false)
    private String useMMss;
    /**余额*/
    @Excel(name = "余额", width = 15)
    @ApiModelProperty(value = "余额")
    @TableField(exist = false)
    private java.math.BigDecimal balance;
    /**变动类型(1钱包退款2支付宝退款3组合退款)*/
    @Excel(name = "退款方式", width = 15, dicCode = "return_type")
    @Dict(dicCode = "return_type")
    @ApiModelProperty(value = "变动类型(1钱包退款2支付宝退款3组合退款)")
    private java.lang.String returnType;
    /**退款金额*/
    @Excel(name = "钱包退款", width = 15)
    @ApiModelProperty(value = "钱包退款金额")
    private java.math.BigDecimal returnAmount;
    /**支付宝退款金额*/
    @Excel(name = "支付宝退款", width = 15)
    @ApiModelProperty(value = "支付宝退款金额")
    private java.math.BigDecimal aliAmount;


	/**借车id*/
    @ApiModelProperty(value = "借车id")
    private java.lang.String orderId;

	/**用户id*/
    @ApiModelProperty(value = "用户id")
    private java.lang.String userId;


	/**退款后钱包余额*/
	//@Excel(name = "退款后钱包余额", width = 0)
    @ApiModelProperty(value = "退款后钱包余额")
    private java.math.BigDecimal balanceEnd;

	/**映射支付宝用户(bike_ali_user)*/
	//@Excel(name = "映射支付宝用户(bike_ali_user)", width = 0)
    @ApiModelProperty(value = "映射支付宝用户(bike_ali_user)")
    private java.lang.String aliUserId;
	/**映射支付宝订单编码(bike_ali_order_pay)*/
	//@Excel(name = "映射支付宝订单编码(bike_ali_order_pay)", width = 0)
    @ApiModelProperty(value = "映射支付宝订单编码(bike_ali_order_pay)")
    private java.lang.String aliOrderId;
    /**支付宝退款编码*/
    //@Excel(name = "支付宝退款编码", width = 0)
    @ApiModelProperty(value = "支付宝退款编码")
    private java.lang.String aliRefundId;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**修改人*/
    @ApiModelProperty(value = "修改人")
    private java.lang.String updateBy;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private java.util.Date updateTime;
	/**备注(退款原因)*/
	//@Excel(name = "备注(退款原因)", width = 0)
    @ApiModelProperty(value = "备注(退款原因)")
    private java.lang.String memo;
}
